package com.zhihuishu.micro.course.model;

import static javax.persistence.GenerationType.IDENTITY;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 课程完成状态
 * 
 * @Description
 * @author jipeng
 * @date 2015年11月10日 下午5:53:17
 */
@Table(name = "TBL_COURSE_BUILD")
public class CourseBuild implements Serializable {

    /** @Fields serialVersionUID: */

    private static final long serialVersionUID = -2446577934388952096L;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "ID")
    private Integer id;// 主键

    @Column(name = "COURSE_ID")
    private Long courseId;// 课程id

    @Column(name = "FIRST_STATUS")
    private Integer firstStatus;// 第一步建课状态，0未完成、1已完成，默认0

    @Column(name = "SECOND_STATUS")
    private Integer secondStatus;// 第二步建课状态 0都木有填写 1填写了课程负责人 2 填写了教学团队 3 都填写了

    @Column(name = "THIRD_STATUS")
    private Integer thirdStatus;// 第三部建课状态 0 未完成 1 已完成 默认0

    @Column(name = "FOURTH_STATUS")
    private Integer forthStatus;// 第四步建课状态，0未完成、1已完成，默认0

    @Column(name = "FIFTH_STATUS")
    private Integer fifthStatus;// 第五步建课状态，0未完成、1已完成，默认0

    @Column(name = "SIXTH_STATUS")
    private Integer sixthStatus;// 第六步建课状态，0未完成、1已完成，默认0

    @Column(name = "IS_DELETED")
    private Integer isDelete;// 是否删除 0 未删除 1 已删除

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Integer getFirstStatus() {
        return firstStatus;
    }

    public void setFirstStatus(Integer firstStatus) {
        this.firstStatus = firstStatus;
    }

    public Integer getSecondStatus() {
        return secondStatus;
    }

    public void setSecondStatus(Integer secondStatus) {
        this.secondStatus = secondStatus;
    }

    public Integer getThirdStatus() {
        return thirdStatus;
    }

    public void setThirdStatus(Integer thirdStatus) {
        this.thirdStatus = thirdStatus;
    }

    public Integer getForthStatus() {
        return forthStatus;
    }

    public void setForthStatus(Integer forthStatus) {
        this.forthStatus = forthStatus;
    }

    public Integer getFifthStatus() {
        return fifthStatus;
    }

    public void setFifthStatus(Integer fifthStatus) {
        this.fifthStatus = fifthStatus;
    }

    public Integer getSixthStatus() {
        return sixthStatus;
    }

    public void setSixthStatus(Integer sixthStatus) {
        this.sixthStatus = sixthStatus;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public CourseBuild() {

    }

    public CourseBuild(Long courseId) {
        super();
        this.courseId = courseId;
    }

    @Override
    public String toString() {
        return "CourseBuild [id=" + id + ", courseId=" + courseId + ", firstStatus=" + firstStatus
                + ", secondStatus=" + secondStatus + ", thirdStatus=" + thirdStatus + ", forthStatus="
                + forthStatus + ", fifthStatus=" + fifthStatus + ", sixthStatus=" + sixthStatus
                + ", isDelete=" + isDelete + "]";
    }

}
